package com.hua.api.modules.express.rest;

import com.hua.api.core.framework.annotation.AnonymousAccess;
import com.hua.api.core.framework.util.Result;
import com.hua.api.modules.express.service.ShopInfoExpressService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/shopInfoExpress")
public class ShopInfoExpressController {


    private final ShopInfoExpressService shopInfoExpressService;

    @AnonymousAccess
    @RequestMapping("/list/{orderId}")
    public Result bindShopInfoExpress(@PathVariable Integer orderId) {
        return Result.of(shopInfoExpressService.shopInfoExpressList(orderId));
    }








}
